package com.fis.hlo.pm.persistence;

public class CustomSettleResult extends SettleResult {
	private Float orgPayableAmount;
	private Float orgReceivableAmount;

	public Float getOrgPayableAmount() {
		return orgPayableAmount;
	}

	public void setOrgPayableAmount(Float orgPayableAmount) {
		this.orgPayableAmount = orgPayableAmount;
	}

	public Float getOrgReceivableAmount() {
		return orgReceivableAmount;
	}

	public void setOrgReceivableAmount(Float orgReceivableAmount) {
		this.orgReceivableAmount = orgReceivableAmount;
	}

	public CustomSettleResult() {
	}

	public CustomSettleResult(SettleResult result) {

		this.setDes(result.getDes());
		this.setDesAmount(result.getDesAmount());
		this.setDesId(result.getDesId());
		this.setRemain(result.getRemain());
		this.setResultMessage(result.getResultMessage());
		this.setSource(result.getSource());
		this.setSourceAmount(result.getSourceAmount());
		this.setSourceId(result.getSourceId());

	}

	public SettleResult toSettleResult() {
		SettleResult result = new SettleResult();

		result.setDes(this.getDes());
		result.setDesAmount(this.getDesAmount());
		result.setDesId(this.getDesId());
		result.setRemain(this.getRemain());
		result.setResultMessage(this.getResultMessage());
		result.setSource(this.getSource());
		result.setSourceAmount(this.getSourceAmount());
		result.setSourceId(this.getSourceId());

		return result;
	}

}
